<%
var containerParam = {
	title: '我的从者',
	currentMenu: 'myServant',
	styleArray: [ctxPath + '/css/myServantBond/list.css'],
	jsArray: [
		ctxPath + '/js/myServantBond/list.js',
		ctxPath + '/widgets/echarts/echarts.min.js'
	],
	breadcrumbMap: {
		'首页': ctxPath + '/',
		'我的从者': ctxPath + '/myServant/list',
		'历史羁绊': null
	}
};
layout('/common/_website_container.html', containerParam){
%>
<div class="layui-row layui-col-space15">
	<div class="layui-col-md6">
		<div class="layui-card">
			<div class="layui-card-header">
				统计信息
			</div>
			<div class="layui-card-body">
				<div id="statistics"></div>
			</div>
		</div>
	</div>
	<div class="layui-col-md6">
		<div class="layui-card">
			<div class="layui-card-header">
				历史羁绊走势
			</div>
			<div class="layui-card-body">
				<div id="chart"></div>
			</div>
		</div>
	</div>
	<div class="layui-col-md12">
		<div class="layui-card">
			<div class="layui-card-body">
				<table id="table"></table>
			</div>
		</div>
	</div>
</div>

<!-- 底部栏 start -->
<% layout('/common/_website_footer.html'){} %>
<!-- 底部栏 end -->

<script id="tableToolbar" type="text/html">
	<div class="layui-btn-container">
		<button type="button" class="layui-btn" lay-event="add">添加</button>
		<button type="button" class="layui-btn" lay-event="delete">删除</button>
	</div>
</script>
<script id="rowToolbar" type="text/html">
	<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit">
		<i class="layui-icon layui-icon-edit"></i>编辑
	</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">
		<i class="layui-icon layui-icon-delete"></i>删除
	</a>
</script>
<script id="statisticsTpl" type="text/html">
	<div class="layui-row layui-col-space10">
		{{# layui.jquery.each(d, function(key, val) { }}
		<div class="layui-col-xs6 layui-col-lg4">
			<div class="statistics-item">
				<h3 class="layui-elip">{{key}}</h3>
				<p class="layui-elip">{{val}}</p>
			</div>
		</div>
		{{# }); }}
	</div>
</script>
<% } %>
